<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::MultiChannel2DComparisonFeature&lt; PointT &gt; 模板类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1_multi_channel2_d_comparison_feature.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="classpcl_1_1_multi_channel2_d_comparison_feature-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::MultiChannel2DComparisonFeature&lt; PointT &gt; 模板类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="classpcl_1_1_feature.html" title="Feature represents the base feature class. Some generic 3D operations that are applicable to all feat...">Feature</a> for comparing two sample points in 2D multi-channel data.  
 <a href="classpcl_1_1_multi_channel2_d_comparison_feature.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="multi__channel__2d__comparison__feature_8h_source.html">multi_channel_2d_comparison_feature.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:aab3a250dd00fdf35e04fd97348a8f707"><td class="memItemLeft" align="right" valign="top"><a id="aab3a250dd00fdf35e04fd97348a8f707"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_multi_channel2_d_comparison_feature.html#aab3a250dd00fdf35e04fd97348a8f707">MultiChannel2DComparisonFeature</a> ()</td></tr>
<tr class="memdesc:aab3a250dd00fdf35e04fd97348a8f707"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
<tr class="separator:aab3a250dd00fdf35e04fd97348a8f707"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a058e37cc72a3083fab3eb6f4427cd944"><td class="memItemLeft" align="right" valign="top"><a id="a058e37cc72a3083fab3eb6f4427cd944"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_multi_channel2_d_comparison_feature.html#a058e37cc72a3083fab3eb6f4427cd944">~MultiChannel2DComparisonFeature</a> ()</td></tr>
<tr class="memdesc:a058e37cc72a3083fab3eb6f4427cd944"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a058e37cc72a3083fab3eb6f4427cd944"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf9a188bfc8c4000d307069a36cb1a30"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_multi_channel2_d_comparison_feature.html#acf9a188bfc8c4000d307069a36cb1a30">serialize</a> (std::ostream &amp;stream) const</td></tr>
<tr class="memdesc:acf9a188bfc8c4000d307069a36cb1a30"><td class="mdescLeft">&#160;</td><td class="mdescRight">Serializes the feature to a stream.  <a href="classpcl_1_1_multi_channel2_d_comparison_feature.html#acf9a188bfc8c4000d307069a36cb1a30">更多...</a><br /></td></tr>
<tr class="separator:acf9a188bfc8c4000d307069a36cb1a30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98802ee81d36d3f987d1ad76a2b72d76"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_multi_channel2_d_comparison_feature.html#a98802ee81d36d3f987d1ad76a2b72d76">deserialize</a> (std::istream &amp;stream)</td></tr>
<tr class="memdesc:a98802ee81d36d3f987d1ad76a2b72d76"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deserializes the feature from a stream.  <a href="classpcl_1_1_multi_channel2_d_comparison_feature.html#a98802ee81d36d3f987d1ad76a2b72d76">更多...</a><br /></td></tr>
<tr class="separator:a98802ee81d36d3f987d1ad76a2b72d76"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:acc68504329e15094bd0d99313a5c570b"><td class="memItemLeft" align="right" valign="top"><a id="acc68504329e15094bd0d99313a5c570b"></a>
<a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_multi_channel2_d_comparison_feature.html#acc68504329e15094bd0d99313a5c570b">p1</a></td></tr>
<tr class="memdesc:acc68504329e15094bd0d99313a5c570b"><td class="mdescLeft">&#160;</td><td class="mdescRight">First sample point. <br /></td></tr>
<tr class="separator:acc68504329e15094bd0d99313a5c570b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36c7c3b56cc8e76d8c7419991ac0429f"><td class="memItemLeft" align="right" valign="top"><a id="a36c7c3b56cc8e76d8c7419991ac0429f"></a>
<a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_multi_channel2_d_comparison_feature.html#a36c7c3b56cc8e76d8c7419991ac0429f">p2</a></td></tr>
<tr class="memdesc:a36c7c3b56cc8e76d8c7419991ac0429f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Second sample point. <br /></td></tr>
<tr class="separator:a36c7c3b56cc8e76d8c7419991ac0429f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00233aaf19077ef1856ada02938d0dc5"><td class="memItemLeft" align="right" valign="top"><a id="a00233aaf19077ef1856ada02938d0dc5"></a>
unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_multi_channel2_d_comparison_feature.html#a00233aaf19077ef1856ada02938d0dc5">channel</a></td></tr>
<tr class="memdesc:a00233aaf19077ef1856ada02938d0dc5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specifies which channel is used for comparison. <br /></td></tr>
<tr class="separator:a00233aaf19077ef1856ada02938d0dc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><h3>template&lt;class PointT&gt;<br />
class pcl::MultiChannel2DComparisonFeature&lt; PointT &gt;</h3>

<p><a class="el" href="classpcl_1_1_feature.html" title="Feature represents the base feature class. Some generic 3D operations that are applicable to all feat...">Feature</a> for comparing two sample points in 2D multi-channel data. </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a98802ee81d36d3f987d1ad76a2b72d76"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98802ee81d36d3f987d1ad76a2b72d76">&#9670;&nbsp;</a></span>deserialize()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class PointT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpcl_1_1_multi_channel2_d_comparison_feature.html">pcl::MultiChannel2DComparisonFeature</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::deserialize </td>
          <td>(</td>
          <td class="paramtype">std::istream &amp;&#160;</td>
          <td class="paramname"><em>stream</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Deserializes the feature from a stream. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">stream</td><td>The source for the deserialization. </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;      {</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;        <a class="code" href="classpcl_1_1_multi_channel2_d_comparison_feature.html#acc68504329e15094bd0d99313a5c570b">p1</a>.deserialize (stream);</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;        <a class="code" href="classpcl_1_1_multi_channel2_d_comparison_feature.html#a36c7c3b56cc8e76d8c7419991ac0429f">p2</a>.deserialize (stream);</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;        stream.read (<span class="keyword">reinterpret_cast&lt;</span><span class="keywordtype">char</span>*<span class="keyword">&gt;</span> (&amp;<a class="code" href="classpcl_1_1_multi_channel2_d_comparison_feature.html#a00233aaf19077ef1856ada02938d0dc5">channel</a>), <span class="keyword">sizeof</span> (<a class="code" href="classpcl_1_1_multi_channel2_d_comparison_feature.html#a00233aaf19077ef1856ada02938d0dc5">channel</a>));</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;      }</div>
<div class="ttc" id="aclasspcl_1_1_multi_channel2_d_comparison_feature_html_a00233aaf19077ef1856ada02938d0dc5"><div class="ttname"><a href="classpcl_1_1_multi_channel2_d_comparison_feature.html#a00233aaf19077ef1856ada02938d0dc5">pcl::MultiChannel2DComparisonFeature::channel</a></div><div class="ttdeci">unsigned char channel</div><div class="ttdoc">Specifies which channel is used for comparison.</div><div class="ttdef"><b>Definition:</b> multi_channel_2d_comparison_feature.h:88</div></div>
<div class="ttc" id="aclasspcl_1_1_multi_channel2_d_comparison_feature_html_a36c7c3b56cc8e76d8c7419991ac0429f"><div class="ttname"><a href="classpcl_1_1_multi_channel2_d_comparison_feature.html#a36c7c3b56cc8e76d8c7419991ac0429f">pcl::MultiChannel2DComparisonFeature::p2</a></div><div class="ttdeci">PointT p2</div><div class="ttdoc">Second sample point.</div><div class="ttdef"><b>Definition:</b> multi_channel_2d_comparison_feature.h:85</div></div>
<div class="ttc" id="aclasspcl_1_1_multi_channel2_d_comparison_feature_html_acc68504329e15094bd0d99313a5c570b"><div class="ttname"><a href="classpcl_1_1_multi_channel2_d_comparison_feature.html#acc68504329e15094bd0d99313a5c570b">pcl::MultiChannel2DComparisonFeature::p1</a></div><div class="ttdeci">PointT p1</div><div class="ttdoc">First sample point.</div><div class="ttdef"><b>Definition:</b> multi_channel_2d_comparison_feature.h:83</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="acf9a188bfc8c4000d307069a36cb1a30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf9a188bfc8c4000d307069a36cb1a30">&#9670;&nbsp;</a></span>serialize()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class PointT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpcl_1_1_multi_channel2_d_comparison_feature.html">pcl::MultiChannel2DComparisonFeature</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::serialize </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>stream</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Serializes the feature to a stream. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">stream</td><td>The destination for the serialization. </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;      {</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;        <a class="code" href="classpcl_1_1_multi_channel2_d_comparison_feature.html#acc68504329e15094bd0d99313a5c570b">p1</a>.serialize (stream);</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;        <a class="code" href="classpcl_1_1_multi_channel2_d_comparison_feature.html#a36c7c3b56cc8e76d8c7419991ac0429f">p2</a>.serialize (stream);</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        stream.write (<span class="keyword">reinterpret_cast&lt;</span><span class="keyword">const </span><span class="keywordtype">char</span>*<span class="keyword">&gt;</span> (&amp;<a class="code" href="classpcl_1_1_multi_channel2_d_comparison_feature.html#a00233aaf19077ef1856ada02938d0dc5">channel</a>), <span class="keyword">sizeof</span> (<a class="code" href="classpcl_1_1_multi_channel2_d_comparison_feature.html#a00233aaf19077ef1856ada02938d0dc5">channel</a>));</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;      }</div>
</div><!-- fragment -->
</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>ml/include/pcl/ml/<a class="el" href="multi__channel__2d__comparison__feature_8h_source.html">multi_channel_2d_comparison_feature.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><a class="el" href="classpcl_1_1_multi_channel2_d_comparison_feature.html">MultiChannel2DComparisonFeature</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
